package com.sun.entity;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @author SunRui
 * @description TODO
 * @date 2024/9/22 18:14
 */
public class T_emps implements Serializable {
    @Serial
    private static final long serialVersionUID = -8706691845594778455L;
    private int id;
    private String name;
    private int age;
    private Date bir;
    private float salary;
    private int deptId;

    @Override
    public String toString() {
        return "T_emps{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", bir=" + bir +
                ", salary=" + salary +
                ", deptId=" + deptId +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBir() {
        return bir;
    }

    public void setBir(Date bir) {
        this.bir = bir;
    }

    public float getSalary() {
        return salary;
    }

    public void setSalary(float salary) {
        this.salary = salary;
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }
}
